-
Notifications
You must be signed in to change notification settings - Fork 0
fix: WASM provided by nix build of barretenberg #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great solution. We need to figure out how to pin bb to the commit noir uses though, perhaps using the lockfile?
- Barretenberg pinned in nix-barretenberg.yml - Barretenberg artfcats uploaded to be shared across workflows - system specific workflows triggered by workflow_run - sucess
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question about your choice about an unofficial action when an official one exists. Maybe there is a reason we can't use official version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add this comment to each workflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to update Noir to dispatch to this new workflow.
Related issue(s)
#23
Resolves #
Description
Switching Noir to barretenberg upstream introduced requirement for Barretenberg WASM to be located at
$BARRETENBERG_BIN_DIR
. Absence of this variable breaks builds.Summary of changes
libbarretenberg-wasm32 is built by nix from upstream AztecProtocol/barretenberg, uploaded to artifacts and later downloaded and reused by workflows.
Dependency additions / changes
libbarretenberg-wasm32
Test additions / changes
N/A
Checklist
cargo fmt
with default settings.Documentation needs
Additional context